Surgical treatment of endometriosis